<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>RAC</title>

    <!-- Bootstrap Core CSS -->
    <link href="/xnqb/Public/Rac/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="/xnqb/Public/Rac/vendor/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="/xnqb/Public/Rac/dist/css/sb-admin-2.css" rel="stylesheet">

    <!-- Morris Charts CSS -->
    <link href="/xnqb/Public/Rac/vendor/morrisjs/morris.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="/xnqb/Public/Rac/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
		 <link href="/xnqb/Public/Rac/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
	<!-- DataTables CSS -->
    <!-- <link href="/xnqb/Public/Rac/vendor/datatables-plugins/dataTables.bootstrap.css" rel="stylesheet"> -->

    <!-- DataTables Responsive CSS -->
    <!-- <link href="/xnqb/Public/Rac/vendor/datatables-responsive/dataTables.responsive.css" rel="stylesheet"> -->
    
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    	<style>
	th{
		text-align:center;
	}
	
	.error {
	color:red
}
.parsley-error {
	border-color:#f32f53
}
.parsley-errors-list {
	display:none;
	margin:0;
	padding:0
}
.parsley-errors-list.filled {
	display:block
}
.parsley-errors-list>li {
	font-size:12px;
	list-style:none;
	color:#f32f53;
	margin-top:5px
}
	</style>
	
	
	<style>
      	.search_title_span{
      		display: inline-block;
      		
      		text-align: right;
      	}
      	.search_input{
      		display: inline-block;
      		width: 50%;
      	}
      	.col-sm-3{
      		margin-top: 10px;
      	}
      </style>
	
	<style>
	th{
		text-align:center;
	}
	</style>
</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html"><?php echo (L("_rac_")); ?></a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">



                <!-- <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small">12 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Alerts</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                </li> -->
                
                <!-- /.dropdown -->

                <li><a href="?l=zh-cn">中文</a></li>           
                <li>|</li>
                <li><a href="?l=en-us">English</a></li>
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                    	&nbsp;admin&nbsp;
                        <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <!-- <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> </a>
                        </li> -->
                        <li class="divider"></li>
                        <li><a href="<?php echo U('Login/logout');?>"><i class="fa fa-sign-out fa-fw"></i> <?php echo (L("_logout_")); ?></a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->
            

            <div class="navbar-default sidebar" role="navigation">
            
            	
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
                        	<!-- <?php if($vo["nav_state"] == 'open'): echo ($vo["nav_url"]); else: ?>#<?php endif; ?> -->
                            	<a href='/xnqb/<?php if($vo["nav_state"] == 'open'): echo ($vo["nav_url"]); else: ?>#<?php endif; ?>'><i class="fa <?php echo ($vo["nav_icon"]); ?> fa-fw"></i> <?php echo ($vo["lang"]); ?></a>
                       	    
                        	
	                        	<?php if(!empty($vo["child"])): ?><ul class="nav nav-second-level">
	                        			<?php if(is_array($vo["child"])): $i = 0; $__LIST__ = $vo["child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li>
			                                    <a href="/xnqb/<?php echo ($v["nav_url"]); ?>"><?php echo ($v["lang"]); ?></a>
			                                </li><?php endforeach; endif; else: echo "" ;endif; ?>
	
		                            </ul><?php endif; ?>
                        	
                        	</li><?php endforeach; endif; else: echo "" ;endif; ?>
                        
                        
                        
                    </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>   
 	

        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header"><?php echo (L("_savings_money_report_")); ?></h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>

            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                        	<?php echo (L("_savings_money_report_")); ?>
                        </div>
                        
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                        	<div class="row" style="margin-bottom: 20px;">
                            	<form action="<?php echo U('Presentation/savings_money');?>" method="get">
                            		<div class="col-sm-3">
                            			<span class="search_title_span"><?php echo (L("_username_")); ?>：</span>
                            			<input placeholder="<?php echo (L("_username_")); ?>"  name="member_account" value="<?php echo ($member_account); ?>" type="text" class="form-control search_input" >
                            		</div>
                            		
                                    <div class="col-sm-3">
                            			<span class="search_title_span"><?php echo (L("_begin_time_")); ?>：</span>
                            			<input size="16" placeholder="<?php echo (L("_begin_time_")); ?>"  name="begin" value="<?php echo ($begin); ?>" type="text" readonly class="form_datetime form-control search_input" style="background-color: #fff;">
                            		</div>
                            		
                            		<div class="col-sm-3">
                            			<span class="search_title_span"><?php echo (L("_end_time_")); ?>：</span>
                            			<input size="16" placeholder="<?php echo (L("_end_time_")); ?>" name="end" value="<?php echo ($end); ?>" type="text" readonly class="form_datetime form-control search_input" style="background-color: #fff;">
                            		</div>
                            		
                            		<div class="col-sm-3">
                            			<button type="submit" name="search_type" value="search1" class="btn btn-primary btn-sm"><?php echo (L("_search_")); ?></button>
                            			<button type="submit" name="search_type" value="search2" class="btn btn-primary btn-sm"><?php echo (L("_network_search_")); ?></button>
                            		</div>
                            	</form>
                        	</div>
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover text-center">
                                    <thead>
                                        <tr>
                                            <th><?php echo (L("_serial_number_")); ?></th>
                                            <th><?php echo (L("_username_")); ?></th>
                                            <th><?php echo (L("_type_")); ?></th>
                                            <th><?php echo (L("_change_amount_")); ?></th>
                                            <th><?php echo (L("_last_amount_")); ?></th>                                             
                                        <!--<th>注册积分</th>
                                            <th>配套积分</th>
                                            <th>特别注册积分</th>
                                            <th>可释放积分</th>
                                            <th>储蓄钱包</th>
                                            <th>静态积分</th>
                                            <th>动态钱包</th>
                                            <th>静态钱包</th>-->                                           
                                            <th><?php echo (L("_create_time_")); ?></th>
                                            <th><?php echo (L("_remarks_")); ?></th>                                          
                                          <!--  <th>操作</th> --> 
                                        </tr>
                                    </thead>
                                    <tbody>                                       
                                            <?php if(is_array($data["list"])): $k = 0; $__LIST__ = $data["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
	                                            	<td><?php echo ($k); ?></td>
	                                            	<td><?php echo ($vo["member_account"]); ?></td>
	                                            	<td><?php echo (L("_storage_money_")); ?></td>
	                                            	<td>
	                                            	<?php echo ($vo["change_money2"]); ?>
	                                            	</td>
	                                            	<td><?php echo ($vo["money"]); ?></td>
	                                            	
	                                            <!--<td><?php echo ($vo["cash_integral"]); ?></td>
	                                            	<td><?php echo ($vo["matcher_integral"]); ?></td>
	                                            	<td><?php echo ($vo["especially_register_integral"]); ?></td>
	                                            	<td><?php echo ($vo["release_integral"]); ?></td>
	                                            	<td><?php echo ($vo["savings_money"]); ?></td>
	                                            	<td><?php echo ($vo["static_integral"]); ?></td>
	                                            	<td><?php echo ($vo["dynamic_money"]); ?></td>
	                                            	<td><?php echo ($vo["static_money"]); ?></td>-->                                           	                                            	
	                                            	<td><?php echo ($vo["create_time"]); ?></td>	
	                                            	<td><?php echo ($vo["des"]); ?></td>	                                            		                                            	
												</tr><?php endforeach; endif; else: echo "" ;endif; ?>                                                                                
                                    </tbody>
                                </table>
                                
                                
                                <div class="pull-right">
										<ul class="pagination">
											<?php echo ($data["page"]); ?>
										</ul>
								</div>
									
									
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-6 -->
                <!-- /.col-lg-6 -->
            </div>
            
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
 
    <script src="/xnqb/Public/Rac/vendor/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/xnqb/Public/Rac/vendor/bootstrap/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="/xnqb/Public/Rac/vendor/metisMenu/metisMenu.min.js"></script>

    <!-- Morris Charts JavaScript -->
    <script src="/xnqb/Public/Rac/vendor/raphael/raphael.min.js"></script>
    <!-- <script src="/xnqb/Public/Rac/vendor/morrisjs/morris.min.js"></script>
    <script src="/xnqb/Public/Rac/data/morris-data.js"></script> -->

    <!-- Custom Theme JavaScript -->
    <script src="/xnqb/Public/Rac/dist/js/sb-admin-2.js"></script>
    
    <script src="/xnqb/Public/Rac/layer/layer.js"></script>
   
    <script src="/xnqb/Public/Rac/js/bootstrap-datetimepicker.min.js"></script>
  <!--  <script type="text/javascript">
	$(function () {
		    $("#chinese").click(function(){
			  alert(1);
			});
	});
	
	</script>   -->  
    <!-- <script src="/xnqb/Public/Rac/vendor/datatables/js/jquery.dataTables.min.js"></script>
    <script src="/xnqb/Public/Rac/vendor/datatables-plugins/dataTables.bootstrap.min.js"></script>
    <script src="/xnqb/Public/Rac/vendor/datatables-responsive/dataTables.responsive.js"></script> -->
    <script type="text/javascript">
    $(function () {
    	$(".form_datetime").datetimepicker({
    		format: 'yyyy-mm-dd hh:ii',
    		autoclose:true
    		});
    });
        </script>
</body>

</html>